Custom Auto Tagging of Multiple Objects

ABSTRACT

There is described a computing device and method in a digital medium environment for custom auto tagging of multiple objects. The computing device includes an object detection network and multiple image classification networks. An image is received at the object detection network and includes multiple visual objects. First feature maps are applied to the image at the object detection network and generate object regions associated with the visual objects. The object regions are assigned to the multiple image classification networks, and each image classification network is assigned to a particular object region. The second feature maps are applied to each object region at each image classification network, and each image classification network outputs one or more classes associated with a visual object corresponding to each object region.

RELATED APPLICATION

This application is a continuation of and claims priority to U.S. patent application Ser. No. 16/039,311 filed Jul. 18, 2018 entitled “Custom Auto Tagging of Multiple Objects,” the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

Image tagging is useful for organizing, managing, and searching images. Custom tagging is a specialized type of image tagging, in which images are tagged with custom classes determined by a user. Custom classes may be fine-grained classes of a general object category. For example, a user may define custom classes such as basket-ball shoes, gym shoes or football shoes for a general object category of shoes. Custom classes may also be customized for specific use cases, such as a business user who tags assets for day-to-day operations and management. For example, the business user may tag images for a general object category of automobiles with custom classes such as model numbers and various points of view, such as top-view, side-view, rear-view, interior, and exterior. Custom tagging may also improve stock or inventory search capabilities based on custom queries associated with custom classes.

Although images may be tagged manually by a person or a group of people, it is more convenient to utilize a device trained with machine learning to tag images automatically, particularly a large volume of images. A device trained with machine learning is useful so long as the device is able to perform this function accurately and within a reasonable time.

Even with automation, custom tagging is very challenging for fine-grained classification when the difference between objects is subtle, such as a minor cosmetic difference in appearance. For example, automobiles having the same make but different model numbers may have similar exterior appearances, thus making it difficult to distinguish custom classes of the different models. Another challenge for custom tagging is apparent when multiple objects are present within a single image. Conventional approaches for custom tagging are performed by focusing on images containing one type of object, such as cars, birds, or dogs. These conventional approaches for custom tagging fail to identify the correct classes when the models are applied to images containing different kinds of objects.

SUMMARY

Conventional approaches to fine-grained classification have achieved performance gains by utilizing deep learning. These conventional deep architectures and techniques are generally trained and evaluated based on images containing only one object type. These conventional approaches are not effective or efficient for managing fine-grained classification for multiple objects, particularly for custom automatic tagging, i.e., custom auto tagging.

To address this issue of custom auto tagging, object detection may be used to localize objects of interest so that, subsequently, fine-grained inference may be performed by focusing on the localized regions. In particular, an object detector may be used at the front end to detect variations in the fine-grained classes and scale efficiently to a large number of object categories. Fine-grained classification may then be applied for each detected object.

Conventional approaches also do not scale well for a large number of different objects in a single image because every object will require full model inference of the deep model. The architecture described herein scales well for any type of fine-grained classification, even classifications for large groups of objects. Specifically, the architecture allows for re-using feature maps developed during object detection to construct auxiliary features for fine-grained classification. The computational overhead for constructing these auxiliary features is minimal, and the auxiliary features provide a good baseline for multi-object fine-grained classification. As a result, additional gains in accuracy may be achieved by the architecture of the custom auto tagging technique.

One aspect is a method in a digital medium environment for custom auto tagging of multiple objects. The method is implemented by a computing device that includes an object detection network and multiple image classification networks. An image is received at the object detection network and includes multiple visual objects. Multiple first feature maps are applied to the image at the object detection network and generate multiple object regions associated with the multiple visual objects. The multiple object regions are assigned to the multiple image classification networks, and each image classification network is assigned to a particular object region. Multiple second feature maps are applied to each object region at each image classification network, and each image classification network outputs one or more classes associated with a visual object corresponding to each object region.

Another aspect is a computing device in a digital medium environment for custom auto tagging of multiple objects. The computing device comprises an object detection network and multiple image classification networks. The object detection network is configured to receive an image that includes multiple visual objects, to apply multiple first feature maps to the image, and to generate multiple object regions associated with multiple visual objects. The multiple image classification networks are configured to receive a particular object region at each image classification network, to apply multiple second feature maps to each object region, and to output one or more classes associated with a visual object corresponding to each object region.

Still another aspect is a method in a digital medium environment for custom auto tagging of multiple objects in which the networks may be custom trained by a user after receiving general training at development or production. The object detection network and the multiple image classification networks are trained to localize image features and classify the localized image features based on a multi-class dataset of images associated with multiple classes. Subsequent to this training based on the multi-class dataset of images, the object detection network and the multiple image classification networks are trained incrementally to localize image features and classify the localized image features based on a custom dataset of images associated with one or more custom classes. Thereafter, the object detection network receives an image that includes multiple visual objects. Multiple object regions associated with the multiple visual objects are identified at the object detection network which, as stated above, has been trained based on the multi-class dataset and the custom dataset. One or more visual objects are classified with the custom class or classes at the multiple image classification networks which, as stated above, have been trained based on the multi-class dataset and the custom dataset.

This Summary introduces a selection of concepts in a simplified form that are further described below in the Detailed Description. As such, this Summary is not intended to identify essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

The detailed description is described with reference to the accompanying figures. Entities represented in the figures may be indicative of one or more entities and thus reference may be made interchangeably to single or plural forms of the entities in the discussion.

FIG. 1 is an illustration of an environment in an example implementation that is operable to employ digital image techniques described herein.

FIGS. 2A, 2B, and 2C depict examples of images with multiple objects to be classified.

FIG. 3 depicts an example implementation of a custom auto tagging technique in which feature maps of the image classification network are utilized to classify the objects localized by the objection detection network.

FIG. 4 is a flow diagram depicting a procedure in an example implementation of the custom auto tagging technique of FIG. 3.

FIG. 5 depicts another example implementation of a custom auto tagging technique in which feature maps of the object detection network are utilized to classify the localized objects.

FIG. 6 is a flow diagram depicting a procedure in an example implementation of the custom auto tagging technique of FIG. 5.

FIG. 7 depicts yet another example implementation of a custom auto tagging technique in which feature maps of the object detection network and the image classification networks are utilized to classify the localized objects.

FIG. 8 is a flow diagram depicting a procedure in an example implementation of the custom auto tagging technique of FIG. 7.

FIG. 9 depicts an example implementation of an object detection network for the custom auto tagging technique configured for training.

FIG. 10 depicts an example implementation of an object detection network for the custom auto tagging technique configured for testing and operation.

FIG. 11 depicts an example implementation of an image classification network for the custom auto tagging technique.

FIG. 12 is a flow diagram depicting a procedure in an example implementation showing custom training for the custom auto tagging technique.

FIG. 13 illustrates an example system including various components of an example device that can be implemented as any type of computing device as described and/or utilize with reference to FIGS. 1-12 to implement embodiments of the techniques described herein.

DETAILED DESCRIPTION

Overview

While the present invention is susceptible of embodiment in various forms, there is shown in the drawings and will hereinafter be described presently embodiments with the understanding that the present disclosure is to be considered an exemplification of the invention and is not intended to limit the invention to the specific embodiments illustrated. One skilled in the art will hopefully appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements with the intent to help improve understanding of the aspects of the embodiments being illustrated and described.

Systems trained with machine learning may effectively perform fine-grained classification accurately and within a reasonable time. In fact, conventional convolutional neural networks have achieved high accuracy in performing image classification for isolated objects of specific types, such as dogs, cars, and birds. Unfortunately, when these conventional models are applied to images which contain objects from other general categories, the accuracy and speed performance of these conventional models fall off significantly. In addition, these conventional models are not well suited for custom automatic tagging, i.e., custom auto tagging, due to their limited focus on specific object types.

The system and techniques described herein address the problems associated with multi-object fine-grained classification so that objects within an image or video are automatically associated with custom tags irrespective of the number of objects to be detected. Objects in images are localized to facilitate removal of background objects that interfere with fine-grained classification. After detection and localization of objects, custom classes are identified by focusing on regions and features of the image associated with the localized objects. Also, the custom tagging technique is scaled to many objects by utilizing feature maps already developed during localization of the objects. By utilizing the feature maps of the object detection process, the computation needed to obtain the maps is reduced substantially for all objects.

The system and method described herein for automatically tagging of images and videos allows for custom classes to be defined by a user. Custom classes may be fine-grained classes of a general object category or specific to a particular use-case. A user may train the custom auto tagging system and technique using a small set of data based on custom tags defined by the user. By training the system and technique with custom tags, users of the system and technique would benefit from more relevant search results and rankings generated from specific or fine-grained queries. Users would also have the ability to train the system and technique for custom tagging of multiple, different objects in a single image, video, or setting. Further, it should be noted that the custom auto tagging technique is applicable to video content as well as still images. Each frame or sampled frames from videos may be tagged, and a summary of the final tags may be generated using clustering.

In the following discussion, an example environment is described that may employ the techniques described herein. Example procedures are also described which may be performed in the example environment as well as other environments. Consequently, performance of the example procedures is not limited to the example environment and the example environment is not limited to performance of the example procedures.

Example Environment

FIG. 1 is an illustration of a digital medium environment 100 in an example implementation that is operable to employ custom auto tagging techniques described herein. The illustrated environment 100 includes a computing device 102, which may be configured in a variety of ways.

The computing device 102, for instance, may be configured as a desktop computer, a laptop computer, a mobile device (e.g., assuming a handheld configuration such as a tablet or mobile phone as illustrated), and so forth. Thus, the computing device 102 may range from full resource devices with substantial memory and processor resources (e.g., personal computers, game consoles) to a low-resource device with limited memory and/or processing resources (e.g., mobile devices). Additionally, although a single computing device 102 is shown, the computing device 102 may be representative of a plurality of different devices, such as multiple servers utilized by a business to perform operations “over the cloud” as described in FIG. 13.

The computing device 102 is illustrated as including a graphics processing system 104. The graphics processing system 104 is implemented at least partially in hardware of the computing device 102 to process and transform a digital image 106, which is illustrated as maintained in storage 108 of the computing device 102. Such processing includes creation of the digital image 106, modification of the digital image 106, and rendering of the digital image 106 in an output component 110 of a user interface, e.g., by a display device 112. Although illustrated as implemented locally at the computing device 102, functionality of the graphics processing system 104 may also be implemented as whole or part via functionality available via the network 114, such as part of a web service or “in the cloud.”

An example of functionality incorporated by the graphics processing system 104 to process the image 106 is illustrated as a custom tagging module 116 that includes an object detection network 118 and multiple image classification networks 120. The custom tagging module 116 implements functionality to receive as an input a digital image 122 having multiple objects to be tagged. From this, the custom tagging module 116 receives the digital image 122 having multiple objects to be tagged and outputs multiple custom auto tagged images 124, 126 automatically and without user intervention.

The custom tagging module 116 performs the general functions of training and operating the custom auto tagging function of the computing device 102. The custom tagging module 116 receives one or more inputs from one or more sources, such as the storage 108, the network 114, or an input component 128 of the user interface. Examples of the input component 128 includes, but are not limited to, mechanical devices such keyboards and mice, audio devices such as microphones and sound recognition systems, electrical devices such as communication and transmission signals, and various types of sensors such as capacitive, resistive, motion, light, image, video, audio, temperatures, moisture, location and the like. In addition to the digital image or images, the custom tagging module 116 may also receive commands and/or data from the user via input component 128 to perform the custom auto tagging function based on a user input or user inputs received at an input component 124 of the user interface. Examples of the user input or inputs include a command to activate the custom auto tagging operation, a command to terminate the custom auto tagging operation, a command to indicate a type of custom class, and data to enhance the custom auto tagging operation. For training one or more networks of the custom tagging module 116, the custom tagging modules may receive custom tagging data 130 from the input component 128 that defines the custom tags to be learned. For example, the custom tagging data 130 may include a set of data based on at least one custom tag defined and provided by the user via the input component 128.

As stated above, the graphics processing system 104 is implemented at least partially in hardware of the computing device 102 to process and transform digital images, such as digital images 106 and 122. The computing device 102 is illustrated as including a central processing unit 132 and a graphics processing unit 134. The central processing unit 132 includes a few cores supported by cache memory to handle a limited number of threads for processing. The graphics processing unit 134 is a more specialized processor that includes hundreds of cores to handle thousands of threads simultaneously. The central processing unit 132 is capable of handling a variety of general tasks in a reasonable manner, whereas the graphics processing unit 134 is capable of handling certain specialized tasks more quickly and efficiently than the central processing unit. Since graphic processing requires a lot of repeated mathematical operations, the graphics processing unit 134 is well suited to handle image and video rendering and custom tagging. By allocating tasks appropriately between the central processing unit 132 and the graphics processing unit 134, the computing device 102 is capable of running efficiently to provide a desirable experience for a user. At least most of the system and method of custom auto tagging described herein would be better performed by the graphics processing unit 134. However, it is to be understood that the central processing unit 132 may perform at least some of the tasks for colorization, particularly for a more powerful central processing unit and/or a central processing unit that includes graphics processing capabilities.

In general, functionality, features, and concepts described in relation to the examples above and below may be employed in the context of the example procedures described in this section. Further, functionality, features, and concepts described in relation to different figures and examples in this document may be interchanged among one another and are not limited to implementation in the context of a particular figure or procedure. Moreover, blocks associated with different representative procedures and corresponding figures herein may be applied together and/or combined in different ways. Thus, individual functionality, features, and concepts described in relation to different example environments, devices, components, figures, and procedures herein may be used in any suitable combinations and are not limited to the particular combinations represented by the enumerated examples in this description.

Referring to FIGS. 2A and 2B, custom auto tagging necessitates an approach capable of focusing on subtle differences in the appearance of parts or objects of an image or scene. For example, the exteriors of different vehicles may look very similar in overall shape and appearance, particularly different models having the same make. Minor details in the vehicle bodies may be the primary discriminatory factors to determine the correct classes of the vehicles. The vehicles 200, 202 of FIGS. 2A and 2B have the same general profile, but the front fender 204 of the first vehicle 200 in FIG. 2A is slightly different from the front fender 206 of the second vehicle 202 in FIG. 2B. Similarly, the back roofline 208 of the first vehicle 200 in FIG. 2A is slightly different from the back roofline 210 of the second vehicle 202 in FIG. 2B.

The custom auto tagging technique facilitates image classification of similar looking images by localizing objects within each image. For example, an object detection network may localize the front fender 204 of the first vehicle 200 by identifying a first bounding box 212 and localize the front fender 206 of the second vehicle 202 by a second bounding box 214. Similarly, the object detection network may localize the back roofline 208 of the first vehicle 200 by identifying a third bounding box 216 and localize the back roofline 210 of the second vehicle 202 by a second bounding box 218. These bounding boxes 212-218 allow the custom auto tagging technique to associate fine-grained classes to these subtle object features and facilitate a user's ability to develop custom classes for general object categories.

Referring to FIG. 2C, custom auto tagging also addresses the challenge of distinguishing multiple different objects present in the same image or scene, even if they overlap each other. For example, the image 220 of FIG. 2C includes a vehicle 222 and an animal 224. For this example, the animal 224 is positioned in front of the vehicle 222 such that the animal overlaps or hides a portion of the vehicle. Again, similar to FIGS. 2A and 2B, the custom auto tagging technique facilitates image classification of multiple objects in a single image by localizing the objects. For example, an object detection network may localize the vehicle 222 by identifying a fifth bounding box 226 and localize the animal 224 by a sixth bounding box 228. These bounding boxes 226, 228 allow the custom auto tagging technique to associate classes to different object features and facilitate a user's ability to develop custom classes for a new object category or a sub-category of an existing object category.

Custom Auto Tagging Architectures

FIG. 3 depicts an example implementation of a two-stage architecture 300 that may be applied to training, testing, and operation for custom auto tagging. The architecture 300 comprises a first network for the first stage and multiple second networks for the second stage. For this example implementation, the first network is represented by an object detection network 302 and second networks are represented by image classification networks 304-308. The framework of the first network, such as the object detection network 302, may be any type of machine learning network capable of localization of visual objects within an image or scene. Examples of the first network include, but are not limited to, region-based networks (convolutional neural networks), such as RCNN, Fast-RCNN, Faster-RCNN, Mask RCNN, and R-FCN; and unified real-time networks such as YOLO and SSD. The base model of the first network may be any type of network that is capable of supporting the framework, such as ResNet and Inception V3. Each of the second networks, such as image classification networks 304-308, may be any type of machine learning network capable of classification of visual objects within an image or scene, particularly fine-grained classification. Examples of the second networks include, but are not limited to, VGG, ResNet, and Inception V3.

A shown in FIG. 3, a computing device may perform custom auto tagging of multiple objects in a digital medium environment. The computing device includes an object detection network 302 and multiple image classification networks 304-308. The object detection network 302 is configured to receive an image 310 that includes multiple visual objects. The object detection network 302 identifies multiple tags in which each tag is associated with a particular visual object of the image 310. In order to classify each visual object with a particular class, the object detection network 302 applies multiple first feature maps to the image and generates object regions 312-316, for each visual object. The object detection network 302 communicates the object regions 312-316 to the image classification networks 304-308. Each of the image classification networks 304-308 is configured to receive the object region 312-316 assigned to the image classification network and apply multiple second feature maps and pooling layers to the object region. The second feature maps may be generated by a pre-trained network, such as the image classification networks 304-308 being previously trained using a large dataset of sample images. Thus, each image classification network 304-308 outputs one or more classes or sub-classes 318-322 associated with the visual object corresponding to the assigned object region 312-316.

FIG. 4 is a flow diagram depicting a procedure 400 in an example implementation of the custom auto tagging technique. In particular, a method performs custom auto tagging of multiple objects in a digital medium environment, as implemented by a computing device that includes an object detection network and multiple image classification networks. The object detection network 302 receives an image 310 that includes multiple visual objects at step 402. The image may be a still image, a video image, or a multimedia image. For video or some types of multimedia, each frame or sampled frames from videos may be tagged, and a summary of the final tags may be generated using clustering. Next, the object detection network 302 applies multiple first feature maps to the image 310 and generates multiple object regions 312-316 associated with the visual objects at step 404. The first feature maps are specific to the base model or network of the first network, such as the object detection network 302. The computing device then assigns the object regions 312-316 to multiple image classification networks 304-308 at step 406. Each object region 312-316 is assigned to a particular image classification network 304-308. Thereafter, each image classification network 304-308 applies multiple second feature maps to each object region 312-316 and outputs one or more classes associated with a visual object corresponding to each object region at step 408. The second feature maps are specific to the base model or network of the second network, such as image classification networks 304-308, and may or may not be similar to the first feature maps.

FIG. 5 depicts another example implementation of a two-stage architecture 500 that may be applied to training, testing, and operation for custom auto tagging. The architecture 500 comprises a first network for the first stage and multiple second networks for the second stage. For this example implementation, the first network is represented by an object detection network 502 and second networks are represented by image classification networks 504-508. The framework and base model of the first network in FIG. 5, such as the object detection network 502, are similar to the framework and base model of the first network represented in FIG. 3, such as the object detection network 302. Likewise, each network of the second networks of FIG. 5, such as image classification networks 504-508, is similar to each network of the second networks of FIG. 3, such as image classification networks 304-308. The primary difference between these architectures 300, 500 is that the first network of the architecture 500 of FIG. 5 provides additional information to the second network, relative to the architecture 300 of FIG. 3, as explained below.

For the architecture 500 shown in FIG. 5, the feature maps of the object detection network 502 are applied by the image classification networks 504-508 to obtain final classes. Relative to the architecture 300 of FIG. 3, this architecture 500 requires less computational effort and scales well as the quantity of visual objects increases. Computation to obtain object level feature maps adds minimal overhead, since the ROI pooled feature maps from the object detection network 502 is reused by the image classification networks 504-508. This approach scales well because substantial computation has been performed during object detection.

A shown in FIG. 5, a computing device may perform custom auto tagging of multiple objects in a digital medium environment. The computing device includes an object detection network 502 and multiple image classification networks 504-508. The object detection network 502 is configured to receive an image 510 that includes multiple visual objects. The object detection network 502 identifies multiple tags in which each tag is associated with a particular visual object of the image 510. In order to classify each visual object with a particular class, the object detection network 502 applies multiple feature maps to the image and generates object regions 512-516, for each visual object. The object detection network 502 communicates the object regions 512-516 to the image classification networks 504-508. Each image classification networks 504-508 is configured to receive the object region 512-516 assigned to the image classification network and apply the feature maps of the object detection network 502 and pooling layers to the object region. Thus, each image classification network 504-508 outputs one or more classes or sub-classes 518-522 associated with the visual object corresponding to the assigned object region 512-516.

FIG. 6 is a flow diagram depicting another procedure 600 in an example implementation of the custom auto tagging technique. In particular, a method performs custom auto tagging of multiple objects in a digital medium environment, as implemented by a computing device that includes an object detection network and multiple image classification networks. The object detection network 502 receives an image 510 that includes multiple visual objects at step 602. The image may be a still image, a video image, or a multimedia image. For video or some types of multimedia, each frame or sampled frames from videos may be tagged, and a summary of the final tags may be generated using clustering. Next, the object detection network 502 applies multiple feature maps to the image 510 and generates multiple object regions 512-516 associated with the visual objects at step 604. The feature maps are specific to the base model or network of the first network, such as the object detection network 502. The computing device then assigns the object regions 512-516 to multiple image classification networks 304-308 at step 606. Each object region 512-516 is assigned to a particular image classification network 504-508. In addition, the computing device, such as the object detection device 502 or another component, may communicate at least a portion of the feature maps from the object detection network to one or more image classification networks 504-508 at step 608. Thereafter, each image classification network 504-508 applies the feature maps of the object detection network 502 to each object region 512-516 and outputs one or more classes associated with a visual object corresponding to each object region at step 610.

It should be noted that the feature maps (i.e., second feature maps) applied at the image classification networks 504-508 are the same or similar to the feature maps (i.e., first feature maps) applied at the object detection network 502. In order to scale the approach to many classes, the feature maps from the object detection network 502 are reused for custom classification. This approach is quite efficient since most, if not all, of the computations for the feature maps occur at a single network, namely the object detection network 502.

FIG. 7 depicts yet another example implementation of a two-stage architecture 700 that may be applied to training, testing, and operation for custom auto tagging. The architecture 700 comprises a first network for the first stage and multiple second networks for the second stage. For this example implementation, the first network is represented by an object detection network 702 and second networks are represented by image classification networks 704-708. The framework and base model of the first network in FIG. 7, such as the object detection network 702, are similar to the framework and base model of the first network represented in FIGS. 3 and 5, such as the object detection networks 302, 502. Likewise, each network of the second networks of FIG. 7, such as image classification networks 704-708, is similar to each network of the second networks of FIGS. 3 and 5, such as image classification networks 304-308, 504-508. The primary difference among these architectures 300, 700, 500 is that the architecture 700 shown in FIG. 7 combines the features of the other architectures 300, 500 of FIGS. 3 and 5, as explained below.

For the architecture 700 shown in FIG. 7, the feature maps of the object detection network 702 are applied by the image classification networks 704-708 to obtain final classes. In addition, the image classification networks 704-708 apply their own feature maps to obtain the same final classes. The feature maps from the object detection network 702 and the image classification networks 704-708 are complimentary since both networks are optimized for different tasks. The final layer learns the combinations of the feature maps to classify each object.

A shown in FIG. 7, a computing device may perform custom auto tagging of multiple objects in a digital medium environment. The computing device includes an object detection network 702 and multiple image classification networks 704-708. The object detection network 702 is configured to receive an image 710 that includes multiple visual objects. The object detection network 702 identifies multiple tags in which each tag is associated with a particular visual object of the image 710. In order to classify each visual object with a particular class, the object detection network 702 applies multiple first feature maps to the image and generates object regions 712-716, for each visual object. The object detection network 702 communicates the object regions 712-716 to the image classification networks 704-708. Each image classification networks 704-708 is configured to receive the object region 712-716 assigned to the image classification network. Each image classification network 704-708 also applies the first feature maps of the object detection network 702 and second feature maps of the image classification networks, as well as the pooling layers, to the assigned object region. The second feature maps may be generated by a pre-trained network, such as the image classification networks 704-708 being previously trained using a large dataset of sample images. Thus, each image classification network 704-708 outputs one or more classes or sub-classes 718-722 associated with the visual object corresponding to the assigned object region 712, 714, 716.

FIG. 8 is a flow diagram depicting yet another procedure 800 in an example implementation of the custom auto tagging technique. In particular, a method performs custom auto tagging of multiple objects in a digital medium environment, as implemented by a computing device that includes an object detection network and multiple image classification networks. The object detection network 702 receives an image 710 that includes multiple visual objects at step 802. The image may be a still image, a video image, or a multimedia image. For video or some types of multimedia, each frame or sampled frames from videos may be tagged, and a summary of the final tags may be generated using clustering. Next, the object detection network 702 applies multiple first feature maps to the image 710 and generates multiple object regions 712, 714, 716 associated with the visual objects at step 804. The first feature maps are specific to the base model or network of the first network, such as the object detection network 702. The computing device then assigns the object regions 712, 714, 716 to multiple image classification networks 304-308 at step 806. Each object region 712, 714, 716 is assigned to a particular image classification network 704-708. In addition, the computing device, such as the object detection device 702 or another component, may communicate at least a portion of the first feature maps from the object detection network to one or more image classification networks 704-708 at step 808. Thereafter, each image classification network 704-708 applies the first feature maps of the object detection network 702 and second feature maps of the image classification network to each object region 712, 714, 716. Each image classification network 704-708 also outputs one or more classes associated with a visual object corresponding to each object region at step 810.

It should be noted that the first feature maps of the object detection network 702 are different from the second feature maps of the image classification networks 704-708. The architecture 700 of FIG. 7, and represented by the procedure 800 of FIG. 8, benefits from the application of two different feature maps, i.e., the first and second feature maps in conjunction with each other, to each object region 712, 714, 716.

Object Detection Network

FIG. 9 depicts an example implementation of a first network, such as an object detection network 900, for the custom auto tagging technique configured for training. Other forms of object detection networks may be utilized for the custom auto tagging technique, and the object detection network 900 shown in FIG. 9 is one example. As stated above, the framework of the first network may be any type of machine learning network capable of localization of visual objects within an image or scene. Examples of the first network include, but not limited to, region-based networks such as RCNN, Fast-RCNN, Faster-RCNN, Mask RCNN, and R-FCN; and unified real-time networks such as YOLO and SSD. Also, the base model of the first network may be any type of network that is capable of supporting the framework, such as ResNet and Inception V3.

The object detection network 900 of the custom auto tagging technique may benefit from training by a large dataset so that the object detection network is capable of tagging many general objects. Thus, the object detection network 900 may be trained based on a multi-class dataset of images associated with multiple classes.

As shown in FIG. 9, the object detection network 900 may include a regional proposal network (RPN) 902 for generating region proposals as well as object detection components 904, 906 to detect objects using these proposals. The object detection components may include a classifier 904 and a regressor 906. The RPN 902 receives image data 908 as well as a processed version of the image data from a convolutional neural network (CNN) 910. Based on the image data and information from the CNN, the RPN 902 identifies the regions, in the form of bounding boxes, having the highest likelihood of including an object. The RPN 902 provides region proposals to the classifier 904 and the regressor 906. The classifier 904 and the regressor 906 examine the region proposals, in conjunction with ground-truth bounding boxes received from the image data 908 to check the occurrence of objects for the purpose of training the object detection network 900.

FIG. 10 depicts an example implementation of an object detection network 1000 for the custom auto tagging technique configured for testing and operation. The object detection network 1000 has a configuration for testing and operation, shown in FIG. 10, that is similar to the configuration for training, shown in FIG. 9. The configuration for testing and operation does not include links from the image data 908 to the classifier 904 and the regressor 906 in order to provide ground-truth information. Also, the region proposals generated by the region proposal network 902 are provided to an ROI Pooling 1002. The ROI Pooling 1002 also receives the processed version of the image data from the CNN 910. The ROI pooling 1002 provides classification information, based on the information received from the region proposal network 902 and the CNN 910, to the classifier 904 and the regressor 906. As a result of receiving the classification information, the classifier 904 outputs predictions of foreground objects or background non-objects, and the regressor 906 outputs recommendations for refining the bounding boxes for the purpose of testing and/or operating the object detection network 1000.

Image Classification Network

FIG. 11 depicts an example implementation of a second network, such as an image classification network 1100, with a sample input for the custom auto tagging technique. The image classification network 1100 may be applied to training, testing, and operation for custom auto tagging. As shown in FIG. 11, the image classification network 1100 is initiated by an input 1102 which includes an image 1104. The input 1102 is processed through multiple convolutional neural network layers and pooling layers 1106-1112. The layers 1106-1112 shown in FIG. 11 are merely representations, and the actual quantity of layers may be much greater due to the computational requirements of the classification process. The convolutional neural network layers and pooling layers 1106-1112 are shown in FIG. 11 to operate in series, so each layer processes the output 1104, 1114-1118 of a previous layer. It is to be understood that the image classification network 1100 shown in FIG. 11 is merely an example, and other features commonly used for convolution neural networks may be applied to this network. For example, the convolutional neural network layers and pooling layers 1106-1112 may also include residual connections that may utilize skip layers. The image classification network 1100 may also include fully connected layers 1122, 1124 to maintain full connections to all activations in previous layers as well as a final layer 1126 to provide one or more custom auto tag classes.

Custom Auto Training and Tagging

FIG. 12 is a flow diagram depicting a procedure 1200 in an example implementation showing custom training for the custom auto tagging technique. In particular, a method performs custom auto tagging of multiple objects in a digital medium environment, as implemented by a computing device that includes an object detection network and multiple image classification networks. The computing device may train the first network to localize image features and train the second networks to classify the localized image features based on a multi-class dataset associated with multiple classes in step 1202. In order to maximize the performance of the object detection network 900, 1000 so that it is capable of tagging many general objects, a very large dataset of images with multiple objects is necessary to train the object detection network 900, 1000. The object detection network 900, 1000 should be trained using a dataset having at least 600 classes of objects, preferably greater.

Subsequent to the initial training, the computing device may train the first and second networks, similar to step 1202, but based on a custom dataset of images associated with at least one custom class at step 1204. The second training of the first and second networks may be considered to be customization of the first training. Thus, customization of the object detection network 900, 1000 and the image classification networks 1100 may occur substantially later than initial training of these networks. In addition to, or in the alternative, the object detection network 900, 1000 and the image classification networks 1100 may be customized by a different person than the person who originally trained these networks. The first training person may have used a multi-class dataset whereas the second training person may customize the networks using a smaller dataset of custom image information. In other words, a first entity may initiate the step of training the networks based on the multi-class dataset of images, a second entity may initiate the step of training the networks based on the custom dataset of images, and the first and second entities may be different from each other. In this manner, the object detection network 900, 1000 and the image classification networks 1100, as trained based on the multi-class dataset of images, are provided as incremental training based on the custom dataset for a new object category or a sub-category of an existing object category. Also, the custom dataset of images associated with at least one custom class may include at least one fine-grained class of a general object category.

After training the first and second networks, the first network, such as the object detection network 900, 1000, receives an image 1112 that includes multiple visual objects at step 1206. The image 1112 may be a still image, a video image, or a multimedia image. For video or some types of multimedia, each frame or sampled frames from videos may be tagged, and a summary of the final tags may be generated using clustering. Next, the first network, such as object detection network 900, 1000, identifies multiple object regions associated with the visual objects at step 1208. The first network performs this function of identifying object regions as a result of being trained based on the multi-class dataset and the custom dataset. The computing device then assigns the object regions to multiple image classification networks 1100 at step 1210. Each object region is assigned to a particular second network, such as image classification network 1100. Thereafter, the second networks classify at least one visual object with the custom class or classes at step 1212. The second networks perform this function of classifying the visual object or objects as a result of being trained based on the multi-class dataset and the custom dataset. The second networks may classify at least one visual object with one or more fine-grained classes of a general object category.

Example System and Device

FIG. 13 illustrates an example system generally at 1300 that includes an example computing device 1302 that is representative of one or more computing systems and/or devices that may implement the various techniques described herein. This is illustrated through inclusion of the custom tagging module 116. The computing device 1302 may be, for example, a server of a service provider, a device associated with a client (e.g., a client device), an on-chip system, and/or any other suitable computing device or computing system.

The example computing device 1302 as illustrated includes a processing system 1304, one or more computer-readable media 1306, and one or more I/O interface 1308 that are communicatively coupled, one to another. Although not shown, the computing device 1302 may further include a system bus or other data and command transfer system that couples the various components, one to another. A system bus can include any one or combination of different bus structures, such as a memory bus or memory controller, a peripheral bus, a universal serial bus, and/or a processor or local bus that utilizes any of a variety of bus architectures. A variety of other examples are also contemplated, such as control and data lines.

The processing system 1304 is representative of functionality to perform one or more operations using hardware. Accordingly, the processing system 1304 is illustrated as including hardware element 1310 that may be configured as processors, functional blocks, and so forth. This may include implementation in hardware as an application specific integrated circuit or other logic device formed using one or more semiconductors. The hardware elements 1310 are not limited by the materials from which they are formed or the processing mechanisms employed therein. For example, processors may be comprised of semiconductor(s) and/or transistors (e.g., electronic integrated circuits (ICs)). In such a context, processor-executable instructions may be electronically-executable instructions.

The computer-readable storage media 1306 is illustrated as including memory/storage 1312. The memory/storage 1312 represents memory/storage capacity associated with one or more computer-readable media. The memory/storage component 1312 may include volatile media (such as random-access memory (RAM)) and/or nonvolatile media (such as read only memory (ROM), Flash memory, optical disks, magnetic disks, and so forth). The memory/storage component 1312 may include fixed media (e.g., RAM, ROM, a fixed hard drive, and so on) as well as removable media (e.g., Flash memory, a removable hard drive, an optical disc, and so forth). The computer-readable media 1306 may be configured in a variety of other ways as further described below.

Input/output interface(s) 1308 are representative of functionality to allow a user to enter commands and information to computing device 1302, and also allow information to be presented to the user and/or other components or devices using various input/output devices. Examples of input devices include a keyboard, a cursor control device (e.g., a mouse), a microphone, a scanner, touch functionality (e.g., capacitive or other sensors that are configured to detect physical touch), a camera (e.g., which may employ visible or non-visible wavelengths such as infrared frequencies to recognize movement as gestures that do not involve touch), and so forth. Examples of output devices include a display device (e.g., a monitor or projector), speakers, a printer, a network card, tactile-response device, and so forth. Thus, the computing device 1302 may be configured in a variety of ways as further described below to support user interaction.

Various techniques may be described herein in the general context of software, hardware elements, or program modules. Generally, such modules include routines, programs, objects, elements, components, data structures, and so forth that perform particular tasks or implement particular abstract data types. The terms “module,” “functionality,” and “component” as used herein generally represent software, firmware, hardware, or a combination thereof. The features of the techniques described herein are platform-independent, meaning that the techniques may be implemented on a variety of commercial computing platforms having a variety of processors.

An implementation of the described modules and techniques may be stored on or transmitted across some form of computer-readable media. The computer-readable media may include a variety of media that may be accessed by the computing device 1302. By way of example, and not limitation, computer-readable media may include “computer-readable storage media” and “computer-readable signal media.”

“Computer-readable storage media” may refer to media and/or devices that enable persistent and/or non-transitory storage of information in contrast to mere signal transmission, carrier waves, or signals per se. Thus, computer-readable storage media refers to non-signal bearing media. The computer-readable storage media includes hardware such as volatile and non-volatile, removable and non-removable media and/or storage devices implemented in a method or technology suitable for storage of information such as computer readable instructions, data structures, program modules, logic elements/circuits, or other data. Examples of computer-readable storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, hard disks, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other storage device, tangible media, or article of manufacture suitable to store the desired information and which may be accessed by a computer.

“Computer-readable signal media” may refer to a signal-bearing medium that is configured to transmit instructions to the hardware of the computing device 1302, such as via a network. Signal media typically may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier waves, data signals, or other transport mechanism. Signal media also include any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media.

As previously described, hardware elements 1310 and computer-readable media 1306 are representative of modules, programmable device logic and/or fixed device logic implemented in a hardware form that may be employed in some embodiments to implement at least some aspects of the techniques described herein, such as to perform one or more instructions. Hardware may include components of an integrated circuit or on-chip system, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), and other implementations in silicon or other hardware. In this context, hardware may operate as a processing device that performs program tasks defined by instructions and/or logic embodied by the hardware as well as a hardware utilized to store instructions for execution, e.g., the computer-readable storage media described previously.

Combinations of the foregoing may also be employed to implement various techniques described herein. Accordingly, software, hardware, or executable modules may be implemented as one or more instructions and/or logic embodied on some form of computer-readable storage media and/or by one or more hardware elements 1310. The computing device 1302 may be configured to implement particular instructions and/or functions corresponding to the software and/or hardware modules. Accordingly, implementation of a module that is executable by the computing device 1302 as software may be achieved at least partially in hardware, e.g., through use of computer-readable storage media and/or hardware elements 1310 of the processing system 1304. The instructions and/or functions may be executable/operable by one or more articles of manufacture (for example, one or more computing devices 1302 and/or processing systems 1304) to implement techniques, modules, and examples described herein.

The techniques described herein may be supported by various configurations of the computing device 1302 and are not limited to the specific examples of the techniques described herein. This functionality may also be implemented all or in part through use of a distributed system, such as over a “cloud” 1314 via a platform 1316 as described below.

The cloud 1314 includes and/or is representative of a platform 1316 for resources 1318. The platform 1316 abstracts underlying functionality of hardware (e.g., servers) and software resources of the cloud 1314. The resources 1318 may include applications and/or data that can be utilized while computer processing is executed on servers that are remote from the computing device 1302. Resources 1318 can also include services provided over the Internet and/or through a subscriber network, such as a cellular or Wi-Fi network.

The platform 1316 may abstract resources and functions to connect the computing device 1302 with other computing devices. The platform 1316 may also serve to abstract scaling of resources to provide a corresponding level of scale to encountered demand for the resources 1318 that are implemented via the platform 1316. Accordingly, in an interconnected device embodiment, implementation of functionality described herein may be distributed throughout the system 1300. For example, the functionality may be implemented in part on the computing device 1302 as well as via the platform 1316 that abstracts the functionality of the cloud 1314.

CONCLUSION

Although the invention has been described in language specific to structural features and/or methodological acts, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claimed invention. 

1. A method implemented by a computing device in a digital medium environment for custom auto tagging of multiple objects, the method comprising: receiving an image that includes objects appearing in the image, the receiving by an object tagging module that includes an object detection network and image classification networks; determining object regions each associated with a respective one of the objects in the image, the object detection network utilizing feature maps applied to determine the object regions of the objects; assigning each of the object regions as an input to one of the image classification networks along with a feature map from the object detection network that corresponds to a respective object region; and determining an object class of each of the objects in the respective object regions, the object class of each of the objects determined by the image classification networks based at least in part on the assigned object region and the corresponding feature map utilized by both the object detection network and the respective image classification network.
 2. The method as recited in claim 1, wherein the image that includes the objects is a still image, a video image, or a multimedia image.
 3. The method as recited in claim 1, further comprising: computing the feature maps utilized by the object detection network to determine the object regions of the objects; and reusing the feature maps by the image classification networks for the determining an object class of each of the objects in the respective object regions.
 4. The method as recited in claim 1, further comprising communicating the feature maps from the object detection network as inputs to the respective image classification networks.
 5. The method as recited in claim 1, wherein the determining an object class of each of the objects in the respective object regions includes reusing the feature maps by the respective image classification networks to determine a fine-grained classification of a corresponding object in a respective object region.
 6. The method as recited in claim 1, further comprising: computing the feature maps utilized by the object detection network to determine the object regions of the objects; determining auxiliary features from the feature maps for fine-grained object classification; and wherein the determining an object class of each of the objects in the respective object regions includes using the auxiliary features of the feature maps being reused by the respective image classification networks for the fine-grained object classification.
 7. The method as recited in claim 1, further comprising: determining an object sub-class of an object in a respective object region by a respective image classification network based at least in part on the determined object class and utilizing the feature maps being reused for fine-grained object classification.
 8. A computing device in a digital medium environment for custom auto tagging of multiple objects, the computing device comprising: a memory configured to maintain an image that includes objects appearing in the image; an object tagging module implemented at least partially in computer hardware, the object tagging module including: an object detection network configured to utilize feature maps applied to determine object regions each associated with a respective one of the objects in the image; and image classification networks each assigned one of the object regions along with a feature map from the object detection network that corresponds to a respective object region, and each of the image classification networks configured to determine an object class of one of the objects in the respective object regions based at least in part on the corresponding feature map utilized by both the object detection network and the respective image classification network.
 9. A computing device as recited in claim 8, wherein the image that includes the objects is a still image, a video image, or a multimedia image.
 10. A computing device as recited in claim 8, wherein: the object tagging module is configured to compute the feature maps utilized by the object detection network to determine the object regions of the objects; and the image classification networks are configured to reuse the feature maps to determine an object class of each of the objects in the respective object regions.
 11. A computing device as recited in claim 8, wherein the object detection network is configured to communicate the feature maps as inputs to the respective image classification networks.
 12. A computing device as recited in claim 8, wherein the image classification networks are configured to determine an object class of each of the objects in the respective object regions based in part on the feature maps being reused to determine a fine-grained classification of a corresponding object in a respective object region.
 13. A computing device as recited in claim 8, wherein the object tagging module is configured to: compute the feature maps utilized by the object detection network to determine the object regions of the objects; determine auxiliary features from the feature maps for fine-grained object classification; and wherein the image classification networks are configured to determine an object class of each of the objects in the respective object regions based in part on the auxiliary features of the feature maps being reused for the fine-grained object classification.
 14. A computing device as recited in claim 8, wherein a respective image classification network is configured to determine an object sub-class of an object in a respective object region based at least in part on the determined object class and utilizing the feature maps being reused for fine-grained object classification.
 15. A computing device in a digital medium environment for custom auto tagging of multiple objects, the computing device comprising: a two-stage machine learning architecture configured to localize image features and classify the localized image features based on a multi-class dataset of images associated with a plurality of classes, the two-stage machine learning architecture including: an object detection network configured to receive an image that includes objects appearing in the image, and determine object regions each associated with a respective one of the objects utilizing feature maps to localize the image features; and image classification networks configured to receive one of the object regions and a feature map that corresponds to a respective object region, the image classification networks configured to classify an object class of one of the objects in the respective object regions utilizing the corresponding feature map received from the object detection network.
 16. The computing device as recited in claim 15, wherein the image that includes the objects is a still image, a video image, or a multimedia image.
 17. The computing device as recited in claim 15, wherein: the feature maps are computed and utilized by the object detection network to determine the object regions of the objects; and the image classification networks are configured to reuse the feature maps to classify an object class of each of the objects in the respective object regions.
 18. The computing device as recited in claim 15, wherein the feature maps are communicated from the object detection network as inputs to the respective image classification networks.
 19. The computing device as recited in claim 15, wherein the image classification networks are configured to classify an object class of each of the objects in the respective object regions based in part on the feature maps being reused to determine a fine-grained classification of a corresponding object in a respective object region.
 20. The computing device as recited in claim 15, wherein a respective image classification network is configured to classify an object sub-class of an object in a respective object region based at least in part on the determined object class and utilizing the feature maps being reused for fine-grained object classification. 